package com.llgz.hotelmanageapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author LinHj
 * @date 2021/7/27 17:00
 **/
@Mapper
@Repository
public interface IndexMapper {
//    获取头部展示数据
    List<Map<String,Object>> getShowData();
//    获取近一周营业额
    List<Map<String,Object>> getLastWeekIncome();

    List<Map<String,Object>> getLastWeekAccommodationExpenses();
}
